package kr.hkit.powerjava.homework3;

public class Book {
	@Override
	public String toString() {
		return "Book [nember=" + nember + ", title=" + title + ", author="
				+ author + "]";
	}
	public Book(int nember, String title, String author) {
		this.nember = nember;
		this.title = title;
		this.author = author;
	}
	public int getNember() {
		return nember;
	}
	public void setNember(int nember) {
		this.nember = nember;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	private int nember;
	private String title;
	private String author;
	
	@Override
	public boolean equals(java.lang.Object obj) {
		if (this.nember == ((Book)obj).nember) {
			return true;
		}else{
			return false;
		}
	}
	
	public int getLateFees(int Late){
		return Late;
	}
	
	
}
